package cn.org.alexanderadmin;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.ApplicationPidFileWriter;

/**
 * @author Alexander
 * @date 2024/1/6 11:53
 * @desc 管理后台应用程序启动类
 */
@SpringBootApplication
//@MapperScan({"cn.org.alexanderadmin.mapper"})
public class AdminApplication {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(AdminApplication.class);
        app.setBannerMode(Banner.Mode.OFF);
        app.addListeners(new ApplicationPidFileWriter());
        app.run(args);
    }
}
